<form id='template_surgery_equipment_form'>
<input id='currentTemplateId' type='hidden' value='{$currentTemplateId}'>

<table class='grid' cellpadding='0' cellspacing='0'>		
	<tbody>
		<tr>
			<td class="label" style="width: 100px; border: 0">{translate}Template name{/translate}</td>
			<td style="border: 0">
				<input id="template_ame" name="template_name" type="text" size="30" value="{$templateName}">
			</td>
		</tr>
		<tr>
			<td class="label" style="width: 100px; border: 0">{translate}Description{/translate}</td>
			<td style="border: 0">
				<input id="template_description" name="template_description" type="text" size="30" value="{$templateDescription}">
			</td>
		</tr>
	</tbody>
</table>
<div style="display: block;">
	<span id="errorNameMessage" style="font-style: italic; color: rgb(255,0,0);"></span>
</div>
<div style="display: block;">
	<span id="errorNumberMessage" style="font-style: italic; color: rgb(255,0,0);"></span>
</div>	
<div style='width: 500px; margin-top: 10px;'>
	<table id='templateMedicineTbl' class='grid' cellpadding='0' cellspacing='0' width="100%">
		<caption><span style="text-transform: uppercase;">{translate}LIST OF MEDICINES{/translate}</span></caption>
		<thead>
			<tr>
				<th>{translate}Medicine type{/translate}</th>
				<th>{translate}Medicine name{/translate}</th>
				<th>{translate}Quantity{/translate}</th>
			</tr>
		</thead>
		<tbody>
			{$medicineBody}
		</tbody>
	</table>
</div>
<div style='width: 500px; margin-top: 10px;'>
	<table id='templateEquipmentTbl' class='grid' cellpadding='0' cellspacing='0' width='100%'>
		<caption><span style="text-transform: uppercase;">{translate}LIST OF MEDICIAL INSTRUMENTS{/translate}</span></caption>
		<thead>
			<tr>
				<th>{translate}Instrument type{/translate}</th>
				<th>{translate}Instrument name{/translate}</th>
				<th>{translate}Quantity{/translate}</th>
			</tr>
		</thead>
		<tbody>
			{$equipmentBody}
		</tbody>
	</table>
</div>

</form>